<?php
/**
 * Created by PhpStorm.
 * User: eugene
 * Date: 2018/6/4
 * Time: 11:42
 */

namespace App\Transformers;


class CardSeriesAwardTransformer extends Transformer
{
    public function transform($item)
    {
        return [
            'category'=>$item->award_category,
            'icon'=>$item->award_icon,
            'text'=>$item->award_name,
        ];
    }
    
}